package com.kmproject.haifu.mvp.ui.adapter;

import android.support.annotation.Nullable;
import android.text.TextUtils;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.kmproject.haifu.R;
import com.kmproject.haifu.mvp.contract.HfMeContract;
import com.kmproject.haifu.mvp.model.entity.beans.HousePayWayBean;
import com.kmproject.haifu.mvp.model.entity.resbean.PopuWindowSelectSearchBean;

import java.util.List;

public class PopuwindowSearchAdapter extends BaseQuickAdapter<HousePayWayBean,BaseViewHolder> {
    public PopuwindowSearchAdapter(@Nullable List<HousePayWayBean> data) {
        super(R.layout.popuwindow_selectsearchaddress_item, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, HousePayWayBean item) {
     helper.<TextView>getView(R.id.popuwindow_selectsearchaddress_item_txt).setText(item.getName());
      helper.<ImageView>getView(R.id.popuwindow_selectsearchaddress_item_img).setVisibility(View.INVISIBLE);
    }
}
